<template>
  <div>打开控制台查看mixin加载的生命周期</div>
</template>

<script>
import mixin1 from './mixin1';
import mixin2 from './mixin2';
import mixin3 from './mixin3';
export default {
  mixins: [mixin1, mixin2, mixin3],
  name: 'cp6',
  beforeCreate() {
    console.log('beforeCreate-1');
  },
  created() {
    console.log('created-1');
  },
  beforeMount() {
    console.log('beforeMount-1');
  },
  mounted() {
    console.log('mounted-1');
  },
}
</script>